package com.example.mapper;

import com.example.model.Log;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LogMapper {
    //查询日志信息
    @Select("select * from hotelbook.logs order by operate_time desc")
    List<Log> getLogs();
}
